$f: 19.2;

.home {
  position: relative;
  width: 100%;

  .banner {
    position: relative;

    img {
      width: 100%;
      display: block;
      object-fit: cover;
    }

    .text {
      position: absolute;
      left: 190/$f+vw;
      top: 55%;
      transform: translateY(-50%);

      .p1 {
        background: linear-gradient(180deg, rgba(56, 110, 181, 0.50) 35.29%, rgba(255, 255, 255, 0.00) 84.31%);
        background-clip: text;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        font-size: 40/$f+vw;
        text-transform: uppercase;
        font-family: 'PingFang';
        font-weight: 600;
      }

      .p2 {
        color: #386EB5;
        font-size: 48/$f+vw;
        font-weight: 700;
        margin-top: -1vw;
      }
    }
  }

  .main{
    .news{
      margin: 120/$f+vw 190/$f+vw 50/$f+vw 190/$f+vw;
      .t{
        color: #000;
        font-size: 40/$f+vw;
        font-weight: 600;
        margin-bottom: 80/$f+vw;
      }
      .list{
        display: flex;
        flex-wrap: wrap;
        width: 106.4%;
        margin-left: -3.2%;
        a{
          display: block;
          width: 29%;
          margin-left: 3.2%;
          margin-bottom: 67/$f+vw;
          .time{
            color: #999;
            font-size: 30/$f+vw;
            border-bottom: 1px solid rgba(88, 88, 88, 0.70);
            padding-bottom: 5/$f+vw;
            position: relative;
            &::after{
              content:'';
              display: block;
              position: absolute;
              left: 0;
              bottom:0;
              width: 0;
              height: 1px;
              background: #386EB5;
              transition: all 600ms;
            }
            span{
              color:#000;
            }
          }
          .st{
            color:rgba(85, 85, 85, 1);
            font-size: 20/$f+vw;
            margin: 41/$f+vw 0 26/$f+vw 0;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
          }
          .pic{
            overflow: hidden;
            img{
              width: 100%;
              display: block;
              object-fit: cover;
              transition: all 600ms;
            }
          }
          &:hover{
            .time{
              &::after{
                width: 100%;
              }
            }
            .pic{
              img{
                transform: scale(1.05);
              }
            }
          }
        }
      }
    }
    .products{
      margin: 0 190/$f+vw;
      .t{
        color: #000;
        font-size: 40/$f+vw;
        font-weight: 600;
        margin-bottom: 80/$f+vw;
      }
      .swiper-container {
        width: 100%;
        margin-top: 35/$f+vw;

        a {
          background: linear-gradient(0deg, #C8C8C8 100%, #FFF 100%);
          display: block;
          padding: 38/$f+vw 28/$f+vw;
          position: relative;

          .pic {
            img {
              width: 100%;
              display: block;
              object-fit: contain;
            }
          }

          .pt {
            position: absolute;
            left: 0;
            bottom: 0;
            width: 100%;
            border-top: 3/$f+vw solid rgba(0, 0, 0, 0.10);
            background: rgba(0, 0, 0, 0.10);
            backdrop-filter: blur(5px);
            font-size: 24/$f+vw;
            color: white;
            font-weight: 600;

            p {
              margin: 16/$f+vw;
            }
          }

          .text {
            position: absolute;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background: #386EB5;
            opacity: 0;
            transition: all 600ms;
            z-index: 2;

            .db {
              margin: 40/$f+vw;
              color: white;

              .p1 {
                font-size: 24/$f+vw;
                font-weight: 600;
                font-family: 'PingFang';
              }

              .ds {
                margin-top: 32/$f+vw;

                .pd1 {
                  font-size: 18/$f+vw;
                }

                .pd2 {
                  font-size: 20/$f+vw;
                  font-weight: 600;
                  margin-top: 10/$f+vw;
                }
              }
            }
          }

          &:hover {
            .text {
              opacity: 1;
            }
          }
        }
      }
    }
    .applications{
      margin: 120/$f+vw 190/$f+vw 50/$f+vw 190/$f+vw;
      .t{
        color: #000;
        font-size: 40/$f+vw;
        font-weight: 600;
        margin-bottom: 80/$f+vw;
      }
      .content{
        margin: 80/$f+vw 0 0 0;
        overflow: hidden;
        position: relative;
        .matter{
          width: 100%;
          pointer-events: none;
          transform: translateY(20px);
          opacity: 0;
          &:not(:first-child) {
            position: absolute;
            top: 0;
            left: 0;
          }
          &.on{
            transition: .6s;
            opacity: 1;
            transform: translateY(0);
            pointer-events: auto;
          }
          .swiper1{
            width: 2047/$f+vw;
            margin: 0 0 0 7/$f+vw;
            .swiper-slide{
              .item{
                width: 100%;
                height: 580/$f+vw;
                position: relative;
                z-index: 1;
                overflow: hidden;
                padding: 120/$f+vw 56/$f+vw 0 56/$f+vw;
                cursor: pointer;
                transition: .6s;
                &:after{
                  content: '';
                  position: absolute;
                  width: 100%;
                  height: 100%;
                  top: 0;
                  left: 0;
                  z-index: 1;
                  background: linear-gradient(177deg, #F8F8F9 49.7%, rgba(248, 248, 249, 0.00) 94.33%);
                }
                .img{
                  position: absolute;
                  width: 100%;
                  bottom: 0;
                  left: 0;
                  z-index: -1;
                }
                .jump{
                  position: relative;
                  z-index: 12;
                  h1{
                    color: #000;
                    font-size: 28/$f+vw;
                    font-style: normal;
                    font-weight: 400;
                    line-height: 28/$f+vw; /* 100% */
                    letter-spacing: -0.56px;
                  }
                  .opacity{
                    margin: 21/$f+vw 0 0 0;
                    opacity: 0;
                    transform: translateY(20px);
                    transition: 1s;
                    p{
                      width: 292/$f+vw;
                      color: #000;
                      font-size: 16/$f+vw;
                      font-style: normal;
                      font-weight: 400;
                      line-height: 32/$f+vw; /* 200% */
                      padding: 0 0 0 29/$f+vw;
                      position: relative;
                      &:after{
                        content: '';
                        top: 12/$f+vw;
                        left: 0;
                        position: absolute;
                        width: 10/$f+vw;
                        height: 10/$f+vw;
                        border-radius: 50%;
                        background: #E60012;
                      }
                    }
                  }
                }
                &:hover{
                  border-radius: 235/$f+vw;
                  .opacity{
                    opacity: 1;
                    transform: translateY(0);
                  }
                }
              }
            }
          }
        }
      }
    }
    .section3{
      padding: 100/$f+vw 0;
      *{
        box-sizing: border-box;
      }
      .wrap{
        .top{
          padding: 0 190/$f+vw;
          display: flex;
          align-items: center;
          justify-content: space-between;
          .title{
            color: #000;
            font-size: 40/$f+vw;
            font-style: normal;
            font-weight: 600;
          }
          .other{
            display: flex;
            align-items: center;
            .jt{
              width: 57/$f+vw;
              height: 46/$f+vw;
              cursor: pointer;
            }
            .paging{
              display: flex;
              margin: 0 23/$f+vw;
              p{
                color: #CFCFCF;
                font-size: 18/$f+vw;
                font-style: normal;
                font-weight: 500;
                cursor: pointer;
                &.on{
                  color: #386EB5;
                }
                &:not(:last-child) {
                  margin: 0 26/$f+vw 0 0;
                }
              }
            }
          }
        }
        .content{
          margin: 80/$f+vw 0 0 0;
          overflow: hidden;
          position: relative;
          .matter{
            width: 100%;
            pointer-events: none;
            transform: translateY(20px);
            opacity: 0;
            &:not(:first-child) {
              position: absolute;
              top: 0;
              left: 0;
            }
            &.on{
              transition: .6s;
              opacity: 1;
              transform: translateY(0);
              pointer-events: auto;
            }
            .swiper1{
              width: 2047/$f+vw;
              margin: 0 0 0 7/$f+vw;
              .swiper-slide{
                .item{
                  width: 100%;
                  height: 580/$f+vw;
                  position: relative;
                  z-index: 1;
                  overflow: hidden;
                  padding: 120/$f+vw 56/$f+vw 0 56/$f+vw;
                  cursor: pointer;
                  transition: .6s;
                  &:after{
                    content: '';
                    position: absolute;
                    width: 100%;
                    height: 100%;
                    top: 0;
                    left: 0;
                    z-index: 1;
                    background: linear-gradient(177deg, #F8F8F9 49.7%, rgba(248, 248, 249, 0.00) 94.33%);
                  }
                  .img{
                    position: absolute;
                    width: 100%;
                    bottom: 0;
                    left: 0;
                    z-index: -1;
                  }
                  .jump{
                    position: relative;
                    z-index: 12;
                    h1{
                      color: #000;
                      font-size: 28/$f+vw;
                      font-style: normal;
                      font-weight: 400;
                      line-height: 28/$f+vw; /* 100% */
                      letter-spacing: -0.56px;
                    }
                    .opacity{
                      margin: 21/$f+vw 0 0 0;
                      opacity: 0;
                      transform: translateY(20px);
                      transition: 1s;
                      p{
                        width: 292/$f+vw;
                        color: #000;
                        font-size: 16/$f+vw;
                        font-style: normal;
                        font-weight: 400;
                        line-height: 32/$f+vw; /* 200% */
                        padding: 0 0 0 29/$f+vw;
                        position: relative;
                        &:after{
                          content: '';
                          top: 12/$f+vw;
                          left: 0;
                          position: absolute;
                          width: 10/$f+vw;
                          height: 10/$f+vw;
                          border-radius: 50%;
                          background: #E60012;
                        }
                      }
                    }
                  }
                  &:hover{
                    border-radius: 235/$f+vw;
                    .opacity{
                      opacity: 1;
                      transform: translateY(0);
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
    .faq{
      margin: 0 190/$f+vw 120/$f+vw 190/$f+vw;
      .t{
        color: #000;
        font-size: 40/$f+vw;
        font-weight: 600;
        margin-bottom: 80/$f+vw;
      }
      .list {
        width: 95%;
        margin: 0 auto;
        .item {
          border-top: 1px solid #D9D9D9;
          padding: 32/$f+vw 0;
  
          .t1 {
            display: flex;
            justify-content: space-between;
            .line {
              width: 10px;
              height: 5px;
              background: #386EB5;
              border-radius: 50px;
              margin-top: 0.7vw;
            }
            p{
              color: #386EB5;
              font-size: 24/$f+vw;
              font-weight: 600;
              width: calc(99% - 10px);
            }
          }
          .des{
            color: #666;
            font-size: 20/$f+vw;
            line-height: 2;
            margin-top: 20/$f+vw;
            span{
              color: #333;
            }
          }
        }
        .item:last-child{
          border-bottom: 1px solid #D9D9D9;
        }
      }
    }
  }


  @media screen and (max-width: 1024px) {
    padding-top: 60px;
    .banner{
      img{
        height: 150px;
      }
      .text{
        left: 5%;
        top:50%;
        .p1{
          font-size: 20px;
        }
        .p2{
          font-size: 20px;
          margin-top: -10px;
        }
      }
    }
    .main{
      .news{
        margin: 30px 5% 20px 5%;
        .t{
          font-size: 20px;
          margin-bottom: 20px;
        }
        .list{
          width: 100%;
          margin-left: 0;
          a{
            width: 100%;
            margin-left: 0;
            margin-bottom: 30px;
            .time{
              font-size: 18px;
              padding-bottom: 5px;
            }
            .st{
              font-size: 16px;
              margin: 20px 0 10px 0;
            }
          }
        }
      }
      .products{
        margin: 0 5%;
        .t{
          font-size: 20px;
          margin-bottom: 20px;
        }
        .swiper-container{
          margin-top: 30px;
          a{
            .pt{
              font-size: 14px;
              p{
                margin: 10px;
              }
            }
            .text{
              .db{
                margin: 20px;
                .p1{
                  font-size: 16px;
                }
                .ds{
                  margin-top: 20px;
                  .pd1{
                    font-size: 14px;
                  }
                  .pd2{
                    font-size: 16px;
                    margin-top: 5px;
                  }
                }
              }
            }
          }
        }
      }
      .section3{
        padding: 30px 0;
        .wrap{
          .top{
            padding: 0 5%;
            .title{
              font-size: 24px;
            }
            .other{
              .jt{
                width: 49px;
                height: 39px;
              }
              .paging{
                margin: 0 10px;
                p{
                  font-size: 14px;
                  &:not(:last-child) {
                    margin: 0 15px 0 0;
                  }
                }
              }
            }
          }
          .content{
            margin: 20px 0 0 0;
            .matter{
              .swiper1{
                width: 90%;
                margin: auto;
                .swiper-slide{
                  .item{
                    height: 300px;
                    padding: 40px 5%;
                    border-radius: 0!important;
                    .jump{

                      h1{
                        font-size: 24px;
                        line-height: 1;
                        margin: 0;
                      }
                      .opacity{
                        opacity: 1;
                        transform: translateY(0);
                        margin: 25px 0 0 ;
                        p{
                          width: 100%;
                          font-size: 14px;
                          line-height: 1.7;
                          padding: 0 0 0 20px;
                          &:after{
                            width: 6px;
                            height: 6px;
                            top: 8px;
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
      .applications{
        margin: 30px 5%;
        .t{
          font-size: 20px;
          margin-bottom: 20px;
        }
      }
      .faq{
        margin: 0 5% 30px 5%;
        .t{
          font-size: 20px;
          margin-bottom: 20px;
        }
        .list{
          width: 100%;
          .item{
            padding: 15px 0;
            .t1{
              .line{
                margin-top: 5px;
              }
              p{
                font-size: 16px;
                width: calc(97% - 10px);
              }
            }
            .des{
              font-size: 16px;
            }
          }
        }
      }
    }
  }
}